package com.lebo.portal.view;

import java.io.Serializable;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component("pageResult")
@Scope("request")
public class PageResult<T> implements Serializable {
    private static final long serialVersionUID = -6065559679047663239L;
    private PageInfo pageInfo = new PageInfo();
    private T info;

    public PageInfo getPageInfo() {
        return pageInfo;
    }
    public void setPageInfo(PageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }
    public T getInfo() {
        return info;
    }
    public void setInfo(T info) {
        this.info = info;
    }
}
